ThreePatch.fromTexture

Parameters

tex IHipTexture

Takes a texture, divide it into 3 [depending on orientation], and assemble the threepatch

width int

Width of the resulting texture

height int

Height of the resulting texture

o ThreePatchOrientation

Orientation of the threepatch, default is inferred.

Return Value

Meta